
//   房间接口
export interface Room {
  roomNumber: string;
  totalBeds: number;
  usedBeds: number;
  genderBalance: string; // Gender ratio, e.g., "60% Male / 40% Female"
}

// Api接口
// 根据楼栋获取数据
import axios from '@/API/axios/axios'
export function getBedInfoByBuildingApi(params: { selectedBuilding: string }) {
  return axios.get('/stay/getBedInfoByBuilding', { params: params });
}
// 根据楼层获取数据
export function getBedInfoByFloorApi(selectedBuilding: string, selectedFloor: string) {
  return axios.get('/stay/getBedInfoByFloor', { params: { selectedBuilding, selectedFloor } });
}